package com.atguigu.dga230315.governance.demo;

import groovy.json.JsonOutput;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class SringTaskDemo {

//    @Scheduled(cron = "*/2 * * * * *")
    public void test(){
        System.out.println(11111111);
        System.out.println(System.currentTimeMillis()/1000);
    }
}
